<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class UpdateAuthorIdent extends Migration
{
    public function up()
    {
        Schema::table('author', function (Blueprint $table) {
            $table->dateTime("audit_at")->nullable();
            $table->string("audit_msg", 32)->nullable();
            $table->bigInteger("audit_id", false, true)->default(0)->nullable();
            $table->tinyInteger("audit_status", false, true)->default(3);
        });
    }

    public function down()
    {
        Schema::table('author', function (Blueprint $table) {
        });
    }
}
